include(FindPkgConfig)
pkg_check_modules(LIBEVENT libevent)
if (LIBEVENT_FOUND)
    include_directories(${LIBEVENT_INCLUDE_DIRS})
    link_libraries(${LIBEVENT_LIBRARIES})
    add_executable(dm01_config dm01_config.cpp)
    add_executable(dm02_signal dm02_signal.cpp)
    add_executable(dm03_timer dm03_timer.cpp)
    add_executable(dm04_file dm04_file.cpp)
    add_executable(dm05_http_message dm05_http_message.cpp)
endif ()
